package com.rest.client;

import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response;

public class RestClientException extends WebApplicationException {

	private static final long serialVersionUID = 7731121089520194560L;

	public RestClientException(Throwable cause) {
		super(Response.status(400).entity(cause.getMessage()).build());
	}
}
